home *** CD-ROM | disk | FTP | other *** search
/ Game Programming in C++ - Start to Finish / GameProgrammingS.iso / tools_install / doxygen-1.4.4-setup.exe / {app} / html / examples / define.h < prev    next >
Encoding:
C/C++ Source or Header  |  2003-12-17  |  391 b   |  19 lines

  1. /*! \file define.h
  2.     \brief testing defines
  3.     
  4.     This is to test the documentation of defines.
  5. */
  6.  
  7. /*!
  8.   \def MAX(x,y)
  9.   Computes the maximum of \a x and \a y.
  10. */
  11.  
  12. /*! 
  13.    Computes the absolute value of its argument \a x.
  14. */
  15. #define ABS(x) (((x)>0)?(x):-(x))
  16. #define MAX(x,y) ((x)>(y)?(x):(y))
  17. #define MIN(x,y) ((x)>(y)?(y):(x)) 
  18.         /*!< Computes the minimum of \a x and \a y. */
  19.